

#include <stdio.h>
#include "test.h"
#include "Service.h"

const char *abstring;

const char *encrypt1(long i) {
    const char *astring = encrypt(i);
    // printf(astring);
    abstring = astring;
    return abstring;


}


long decrypt1(const char *str2) {
    long s = decrypt(str2);

    return s;

    /*   //   printf("%lld\n",i);
       long long s = i /1;
       sprintf(abstring, "%lld", s);

       printf(abstring);
       return (const char *) abstring;*/
}


//加法
const char *add1(const char *ptext_1, const char *ptext_2) {
    const char *astring = add(ptext_1, ptext_2);
    // printf(astring);
    abstring = astring;
    return abstring;
}

//乘法
const char *mul1(const char *ptext_1, const char *ptext_2) {
    const char *astring = mul(ptext_1, ptext_2);
    // printf(astring);
    abstring = astring;
    return abstring;
}